package com.example.bookcar.mapper;

import com.example.bookcar.dto.LoginDTO;
import com.example.bookcar.entity.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
* @author 18225
* @description 针对表【t_admin】的数据库操作Mapper
* @createDate 2023-03-01 16:38:16
* @Entity com.example.bookcar.pojo.Admin
*/
@Mapper
public interface AdminMapper {

    //查询用户
    Admin getAdminByName(String account);

    //修改密码
    int updatePass(@Param("loginDTO") LoginDTO loginDTO);
}




